package com.hyts.dbmeta.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * project-name:coffice-wizard
 * package-name:com.hyts.dbmeta.model
 * author:Libo/Alex
 * create-date:2018-11-04 18:56
 * copyright:libo-hyts-github
 * email:libo2dev@aliyun.com
 * description:此类主要用于:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TableMetadata {


    private String userOrSchemeName;

    private String name;

    private String objectType;

    private List<ColumnMetadata> columnMetadataList;

    public TableMetadata(String userOrSchemeName, String name, String objectType) {
        this.userOrSchemeName = userOrSchemeName;
        this.name = name;
        this.objectType = objectType;
    }
}
